import {Component, OnInit, NgModule} from '@angular/core';

@Component({
  selector: 'app-productdesc',
  templateUrl: './productdesc.component.html',
  styleUrls: ['./productdesc.component.css']
})
export class ProductdescComponent implements OnInit {

  ipname: string;

  constructor() {
  }

  ngOnInit() {
    this.ipname = '';
  }

  doInput(event: any) {
    /*this.ipname = event.target.getAttribute('value');*/
    this.ipname = event.target.value;

  }

}
